@import '@/app/styles/variables';

.sort {
  cursor: pointer;
  display: flex;
  width: 100% !important;
  padding: 24px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 16px;
  border: 1px solid var(--simple-gray-day, #e1e1e1);
  background: var(--simple-morning, #fff);
  background: #fff;
  align-self: center;
  color: #000;
  height: 74px;
  font-style: normal;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
}

.input {
  display: flex;
  width: 100%;
  max-height: 74px;
  align-items: flex-start;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  gap: 16px;
  color: black;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  border-radius: 16px;
  border: 1px solid var(--simple-gray-day, #e1e1e1);
  background: var(--simple-morning, #fff);
  padding: 23px 56px 23px 24px;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  outline: 0;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 40px;

  .avatar {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 150px;
    background: var(--Pastel-Pink, #ffebef);
  }
}

.buttons {
  align-self: center;
  margin-top: 8px;
}

.avatar {
  border-radius: 50%;
  position: relative;
  z-index: 0;
}

.photo {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.form {
  display: grid;
  grid-template-rows: 114px;
  grid-template-columns: repeat(2, 48.3%);
  gap: 32px;

  input {
    width: 100%;
  }
}

.modal {
  padding: 48px;
}

.modal>div {
  width: 100%;
  margin-bottom: 12px;
}

@include media(sm) {
  .input {
    display: flex;
    width: 100%;
    height: 62px;
    padding: 18px 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    align-items: center;
    gap: 16px;
    border-radius: 12px !important;
    background: #fff;
    padding-right: 44px;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
  }

  .modal {
    padding: 16px;
    padding-top: 32px;
  }

  .modal header {
    height: min-content !important;
  }

  .modal>div>.title {
    width: 100%;
  }

  .chooseItem {
    display: flex;
    width: 100%;
    padding-bottom: 10px;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding-bottom: 16px;
    gap: 16px;
    border-bottom: 1px solid var(--simple-gray-morning, #f3f3f3);
    color: var(--simple-night, #000);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
  }

  .chooseCont {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
  }

  .buttons_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .chooseItemWithoutBorder {
    display: flex;
    width: 100%;
    padding-bottom: 10px;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    gap: 16px;
    color: var(--simple-night, #000);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
  }

  // .main {
  //   align-self: center;

  // }

  .chevronLeft {
    position: absolute;
    top: 30%;
    right: 17px;
    padding-left: 97%;
    height: 62px;
    cursor: pointer;
    transition: 0.2s all;
  }

  .form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 8px 0px;

    input {
      width: 100%;
      font-size: 16px;
    }
  }
}